package org.sippr.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.sippr.pojo.Project;

import java.util.List;

@Mapper
public interface ProjectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Project record);

    int insertSelective(Project record);

    Project selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Project record);

    int updateByPrimaryKey(Project record);

    Project findByName(String name);

    List<Project> selectByUserId(Integer userId);
}